[3.9] gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 11 Oct 2022 21:13:18 +0000 (14:13 -0700)
committerAndrej Shadura <andrewsh@debian.org>
Tue, 20 Jan 2026 10:45:10 +0000 (11:45 +0100)
commit3944a95e684dc905ff0d2f9b142ce512c719638b
treee0e19c141111f981d72bed3a3af48eb5c49f4bd9
parent65aeef5c316c47f9da835fd0f993dc031157d4e4
[3.9] gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993) (#98190)

gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993)
(cherry picked from commit b9509ba7a9c668b984dab876c7926fe1dc5aa0ba)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Gbp-Pq: Name 0001-3.9-gh-68966-Make-mailcap-refuse-to-match-unsafe-fil.patch
Doc/library/mailcap.rst
Lib/mailcap.py
Lib/test/test_mailcap.py